#include "NoPulse.h"


NoPulse::NoPulse()
{

}

NoPulse::~NoPulse()
{

}

void NoPulse::Current(NewParameters params)
{
  level=params.getCurrent()["value"];
}

void NoPulse::Field(NewParameters params)
{
  level=params.getField()["value"];
  angle=params.getField()["theta"];
  angle2=params.getField()["phi"];
}

double NoPulse::getLevel(double timestamp)
{

  return level;

}
